{extend name='admin@main'}
{block name="content"}
<form onsubmit="return false;"  data-auto="true" method="post" class='layui-form layui-card' autocomplete="off">
    <div class="think-box-shadow padding-40">
        <div class="layui-form-item layui-row layui-col-space15">
            <label class="layui-col-xs3 relative">
                <span class="color-green">注册赠送</span>
                <input name="register" class="layui-input" placeholder="请输入注册赠送" value="{$vo.register|default='0.00'}" readonly>
            </label>
            <label class="layui-col-xs3 relative">
                <span class="color-green">邀请注册赠送</span>
                <input name="invite" class="layui-input" placeholder="请输入邀请注册赠送" value="{$vo.invite|default='0.00'}" readonly>
            </label>
            <label class="layui-col-xs3 relative">
                <span class="color-green">认证赠送（三次）</span>
                <input name="authentication" class="layui-input" placeholder="请输入认证赠送" value="{$vo.authentication|default='0.00'}" readonly>
            </label>
            <label class="layui-col-xs3 relative">
                <span class="color-green">每日登录赠送</span>
                <input name="login" class="layui-input" placeholder="请输入每日登录赠送" value="{$vo.login|default='0.00'}" readonly>
            </label>
        </div>
        <div class="layui-form-item layui-row layui-col-space15">
            <label class="layui-col-xs3 relative">
                <span class="color-green">每日投资赠送</span>
                <input name="invest" class="layui-input" placeholder="请输入每日投资赠送" value="{$vo.invest|default='0.00'}" readonly>
            </label>
            <label class="layui-col-xs3 relative">
                <span class="color-green">签到积分（整数）</span>
                <input name="signin" class="layui-input" placeholder="请输入签到积分" value="{$vo.signin|default='0'}" readonly>
            </label>
        </div>

        <div class="layui-form-item text-center">
            {if auth("reward_edit")}
                <a class="layui-btn" data-modal='{:url("reward_edit")}?id={$vo.id}'>编 辑</a>
            {else}
            <a data-tips-text="您没有编辑的权限哦！" class="layui-btn layui-btn-sm layui-btn-primary layui-disabled">编 辑</a>
            {/if}
        </div>
    </div>
</form>
{/block}
{block name='script'}
<script>
    window.form.render();
</script>
{/block}
